package com.scf.fruit.business.user.controller;

import com.scf.fruit.business.user.bo.WXUserBo;
import com.scf.fruit.util.ResponseVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * @author : 孙超飞
 * @title :
 * @description :
 * @copyright :
 * @date : 2018-05-21 17:50
 */
@Controller
@RequestMapping(value = "/wxUser",produces = "application/json")
public class WXUserController {
    @Resource
    private WXUserBo wxUserBo;

    @ResponseBody
    @RequestMapping()
    public ResponseVo queryWXUser(@RequestParam("pageNum")Integer pageNum,@RequestParam("length")Integer length){
        return wxUserBo.queryWXUserByPage(pageNum,length);
    }
}
